<div>
    <div class="dux-alert-list">
        <p>设置公众号接口URL</p>
        http://<?php  echo $_SERVER['HTTP_HOST']; ?>{url('api/wechat/App/index')}
    </div>
    <br>
    <div class="uk-card uk-card-default uk-card-small dux-panel">
        <div class="uk-card-header">微信配置</div>
        <div class="uk-card-body">
            <form class="dux-form uk-form   uk-form-horizontal " method="post" action="{url()}" data-dux="form-bind">
                <fieldset>
                    <div class="uk-form-group">
                        <label class=" uk-form-label">AppID</label>
                        <div class="uk-form-controls">
                            <input type="text" name="appid" placeholder="应用ID" value="{$info.appid}" required>
                        </div>
                    </div>
                    <div class="uk-form-group">
                        <label class=" uk-form-label">AppSecret</label>
                        <div class="uk-form-controls">
                            <input type="text" name="secret" placeholder="公众号密钥" value="{$info.secret}" required>
                        </div>
                    </div>
                    <div class="uk-form-group">
                        <label class=" uk-form-label">Token</label>
                        <div class="uk-form-controls">
                            <input type="text" name="token" placeholder="安全验证码,需自己定义" value="{$info.token}" required>
                        </div>
                    </div>
                    <div class="uk-form-group">
                        <label class=" uk-form-label">EncodingAESKey</label>
                        <div class="uk-form-controls">
                            <input type="text" name="aeskey" placeholder="安全模式下填写" value="{$info.aeskey}">
                        </div>
                    </div>

                    <div class="uk-form-group">
                        <div class="uk-form-controls">
                            <button class="uk-button uk-button-primary" type="submit">保存</button>
                        </div>
                    </div>
                </fieldset>
            </form>
        </div>
    </div>
</div>